package com.work.device.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_index")
public class Index implements Serializable {
    @Id
    private Long id; //数据指标id
    @Column(name = "name")
    private String dataName; //数据指标名称
    private String unit; //数据指标单位
}
